package com.kq.tallybookl.item;

/**
 * 记录的item类
 *
 * Created by Kq on 2016/4/29.
 */
public class MenoItem {

    private String title;
    private long timestamp;
    private String details;
    // 记录ListView中的选择状态
    private boolean status;

    /**
     *
     * @param title  事件名
     * @param timestamp  记录的时间/修改的时间
     * @param details  事件细节
     */
    public MenoItem(String title, long timestamp, String details) {
        this.title = title;
        this.timestamp = timestamp;
        this.details = details;
        status = false;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
}
